#if !defined(ximera_xml_xmldeclaration_hpp)
#define ximera_xml_xmldeclaration_hpp

// -----------------------------------------------------------

#include <ximera/xml/xmlnode.hpp>

namespace ximera { namespace xml
{
    class XIMERA_API XmlDeclaration : public XmlNode
    {
    public:
        virtual XmlNodeType type() const { return XmlNodeType::Declaration; }

        String const& version() const { return _version; }
        String const& encoding() const { return _encoding; }
        String const& standalone() const { return _standalone; }

    private:
        String _version;
        String _encoding;
        String _standalone;

        friend class XmlDocument;
    };
}}

// -----------------------------------------------------------

#endif
